{timelineName}_cell_value

specifies the number of scheduled events in a cell of the view

evsarrayan array of objects of events contained in a cell
dateDatethe date of a cell
sectionobjectthe section object

Available only in PRO Edition

Example

scheduler.templates.timeline_cell_value = function(evs, date, section){
    return evs?evs.length:"";
};

Applicable views:Timeline View
Details

The template requires the timeline plugin to be activated.

By default, the template is called only in the 'cell' mode of the Timeline view. But if you enable the cell_template config of the Timeline view, the template will be called in all other modes of the view as well.

See also
Back to top